
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>网络编程 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-sidebar-style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-comscore/test.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../java进阶/MySQL.html" />
    
    
    <link rel="prev" href="线程.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">基础篇</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="IO流基础.html">
            
                <a href="IO流基础.html">
            
                    
                    IO流基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="集合.html">
            
                <a href="集合.html">
            
                    
                    集合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="异常处理.html">
            
                <a href="异常处理.html">
            
                    
                    异常处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="线程.html">
            
                <a href="线程.html">
            
                    
                    线程
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="2.5" data-path="网络编程.html">
            
                <a href="网络编程.html">
            
                    
                    网络编程
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">进阶篇</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../java进阶/MySQL.html">
            
                <a href="../java进阶/MySQL.html">
            
                    
                    MySQL
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../java进阶/Oracle.html">
            
                <a href="../java进阶/Oracle.html">
            
                    
                    Oracle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="../java进阶/Redis.html">
            
                <a href="../java进阶/Redis.html">
            
                    
                    Redis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="../java进阶/Netty.html">
            
                <a href="../java进阶/Netty.html">
            
                    
                    Netty
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="../java进阶/Spring.html">
            
                <a href="../java进阶/Spring.html">
            
                    
                    Spring
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="../java进阶/SpringMVC.html">
            
                <a href="../java进阶/SpringMVC.html">
            
                    
                    SpringMVC
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="../java进阶/单元测试.html">
            
                <a href="../java进阶/单元测试.html">
            
                    
                    SpringBoot单元测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8" data-path="../java进阶/设计模式.html">
            
                <a href="../java进阶/设计模式.html">
            
                    
                    二十三个设计模式
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.8.1" data-path="../java进阶/工厂模式.html">
            
                <a href="../java进阶/工厂模式.html">
            
                    
                    工厂模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8.2" data-path="../java进阶/单例模式.html">
            
                <a href="../java进阶/单例模式.html">
            
                    
                    单例模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8.3" data-path="../java进阶/建造者模式.html">
            
                <a href="../java进阶/建造者模式.html">
            
                    
                    建造者模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8.4" data-path="../java进阶/原型模式.html">
            
                <a href="../java进阶/原型模式.html">
            
                    
                    原型模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8.5" data-path="../java进阶/适配器模式.html">
            
                <a href="../java进阶/适配器模式.html">
            
                    
                    适配器模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8.6" data-path="../java进阶/责任链模式.html">
            
                <a href="../java进阶/责任链模式.html">
            
                    
                    责任链模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8.7" data-path="../java进阶/桥接模式.html">
            
                <a href="../java进阶/桥接模式.html">
            
                    
                    桥接模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">高级篇</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="../springcloud/1.cloud架构选型.html">
            
                <a href="../springcloud/1.cloud架构选型.html">
            
                    
                    Spring Cloud
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1.1" data-path="../springcloud/2.Provider-支付模块.html">
            
                <a href="../springcloud/2.Provider-支付模块.html">
            
                    
                    Provider-支付模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.2" data-path="../springcloud/3.Consumer-订单模块.html">
            
                <a href="../springcloud/3.Consumer-订单模块.html">
            
                    
                    Consumer-订单模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.3" data-path="../springcloud/4.重构-Common模块.html">
            
                <a href="../springcloud/4.重构-Common模块.html">
            
                    
                    重构-Common模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.4" data-path="../springcloud/5.注册中心-Enreka.html">
            
                <a href="../springcloud/5.注册中心-Enreka.html">
            
                    
                    注册中心-Enreka
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.5" data-path="../springcloud/6.负载均衡-@LoadBalance.html">
            
                <a href="../springcloud/6.负载均衡-@LoadBalance.html">
            
                    
                    负载均衡-@LoadBalance
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.6" data-path="../springcloud/7.更换注册中心-Zookeeper.html">
            
                <a href="../springcloud/7.更换注册中心-Zookeeper.html">
            
                    
                    更换注册中心-Zookeeper
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.7" data-path="../springcloud/8.更换注册中心-Consul.html">
            
                <a href="../springcloud/8.更换注册中心-Consul.html">
            
                    
                    更换注册中心-Consul
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.8" data-path="../springcloud/9.负载均衡-Ribbon.html">
            
                <a href="../springcloud/9.负载均衡-Ribbon.html">
            
                    
                    负载均衡-Ribbon
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.9" data-path="../springcloud/10.服务调用-OpenFeign.html">
            
                <a href="../springcloud/10.服务调用-OpenFeign.html">
            
                    
                    服务调用-OpenFeign
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.10" data-path="../springcloud/11.熔断器-Hystrix.html">
            
                <a href="../springcloud/11.熔断器-Hystrix.html">
            
                    
                    熔断器-Hystrix
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.11" data-path="../springcloud/12.网关-Gateway.html">
            
                <a href="../springcloud/12.网关-Gateway.html">
            
                    
                    网关-Gateway
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.12" data-path="../springcloud/13.配置中心-Config.html">
            
                <a href="../springcloud/13.配置中心-Config.html">
            
                    
                    配置中心-Config
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.13" data-path="../springcloud/14.消息总线-bus.html">
            
                <a href="../springcloud/14.消息总线-bus.html">
            
                    
                    消息总线-Bus
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.14" data-path="../springcloud/15.消息驱动-stream.html">
            
                <a href="../springcloud/15.消息驱动-stream.html">
            
                    
                    消息驱动-Stream
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.15" data-path="../springcloud/16.链路监控-Sleuth.html">
            
                <a href="../springcloud/16.链路监控-Sleuth.html">
            
                    
                    链路监控-Sleuth
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.16" data-path="../springcloud/17.注册中心&配置中心-nacos.html">
            
                <a href="../springcloud/17.注册中心&配置中心-nacos.html">
            
                    
                    注册中心&配置中心-nacos
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.17" data-path="../springcloud/18.限流-sentinel.html">
            
                <a href="../springcloud/18.限流-sentinel.html">
            
                    
                    限流-sentinel
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="../java高级/JUC.html">
            
                <a href="../java高级/JUC.html">
            
                    
                    神秘的JUC包
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="../java高级/Docker.html">
            
                <a href="../java高级/Docker.html">
            
                    
                    Docker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="../java高级/布隆过滤器.html">
            
                <a href="../java高级/布隆过滤器.html">
            
                    
                    布隆过滤器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5" data-path="../java高级/Redission.html">
            
                <a href="../java高级/Redission.html">
            
                    
                    Redission
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6" data-path="../java高级/MQ.html">
            
                <a href="../java高级/MQ.html">
            
                    
                    消息队列
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.7" data-path="../java高级/JVM.html">
            
                <a href="../java高级/JVM.html">
            
                    
                    JVM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.8" data-path="../java书籍/《Effective Java》读书笔记.html">
            
                <a href="../java书籍/《Effective Java》读书笔记.html">
            
                    
                    《Effective Java》读书笔记 
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.8.1" data-path="../java书籍/创建和销毁对象.html">
            
                <a href="../java书籍/创建和销毁对象.html">
            
                    
                    创建和销毁对象
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">番外篇</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="../java面试/面试题.html">
            
                <a href="../java面试/面试题.html">
            
                    
                    面试题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="../番外篇/小程序.html">
            
                <a href="../番外篇/小程序.html">
            
                    
                    微信小程序
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >网络编程</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h3 id="&#x4E00;&#x3001;tcpip&#x534F;&#x8BAE;&#x5206;&#x5C42;&#x6A21;&#x578B;"><a name="&#x4E00;&#x3001;tcpip&#x534F;&#x8BAE;&#x5206;&#x5C42;&#x6A21;&#x578B;" class="plugin-anchor" href="#&#x4E00;&#x3001;tcpip&#x534F;&#x8BAE;&#x5206;&#x5C42;&#x6A21;&#x578B;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E00;&#x3001;TCP/IP&#x534F;&#x8BAE;&#x5206;&#x5C42;&#x6A21;&#x578B;</h3>
<p>&#x5927;&#x5B66;&#x6559;&#x79D1;&#x4E66;&#x4E2D;&#x6709;&#x8BF4;&#x5206;&#x6210;7&#x5C42;&#xFF0C;&#x4E5F;&#x6709;&#x8BF4;&#x5206;&#x6210;4&#x5C42;&#x7684;&#xFF0C;&#x7B14;&#x8005;&#x89C9;&#x5F97;4&#x5C42;&#x66F4;&#x5408;&#x9002;&#x4E00;&#x4E9B;&#xFF0C;&#x50CF;&#x4E03;&#x5C42;&#x4E2D;&#x7684;&#x7B2C;5&#x3001;6&#x5C42;&#x5B8C;&#x5168;&#x4E0D;&#x662F;&#x5FC5;&#x987B;&#x7684;&#xFF0C;&#x5C31;&#x7B97;&#x6709;&#x4E5F;&#x662F;&#x5404;&#x81EA;&#x5236;&#x5B9A;&#x534F;&#x8BAE;&#xFF0C;&#x800C;&#x5236;&#x5B9A;&#x534F;&#x8BAE;&#x7684;&#x4EBA;&#x57FA;&#x672C;&#x4E0D;&#x4F1A;&#x53BB;&#x8003;&#x8651;&#x7B2C;5&#x5C42;&#x53EB;&#x4F1A;&#x8BDD;&#x5C42;&#x7B2C;6&#x5C42;&#x53EB;&#x8868;&#x793A;&#x5C42;&#xFF0C;&#x5728;&#x79C1;&#x6709;&#x5E94;&#x7528;&#x5C42;&#x534F;&#x8BAE;&#x4E2D;&#xFF0C;&#x66F4;&#x591A;&#x7684;&#x662F;&#x4F1A;&#x79C1;&#x5B9A;&#x4E00;&#x4E2A;&#x63E1;&#x624B;&#x4E92;&#x4FE1;&#x534F;&#x8BAE;&#xFF0C;&#x4EE5;&#x8868;&#x793A;&#x901A;&#x8BAF;&#x53CC;&#x65B9;&#x662F;&#x4E92;&#x4FE1;&#x7684;</p>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1go91zsnnijj30q60b8jsb.jpg" alt=""></p>
<h3 id="&#x4E8C;&#x3001;&#x5E94;&#x7528;&#x5C42;&#x662F;&#x5565;&#xFF1F;"><a name="&#x4E8C;&#x3001;&#x5E94;&#x7528;&#x5C42;&#x662F;&#x5565;&#xFF1F;" class="plugin-anchor" href="#&#x4E8C;&#x3001;&#x5E94;&#x7528;&#x5C42;&#x662F;&#x5565;&#xFF1F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E8C;&#x3001;&#x5E94;&#x7528;&#x5C42;&#x662F;&#x5565;&#xFF1F;</h3>
<ul>
<li><p>&#x4F60;&#x60F3;&#x7528;java&#x5199;&#x4E00;&#x4E2A;&#x7F51;&#x7EDC;&#x7A0B;&#x5E8F;&#xFF0C;&#x4F60;&#x5199;&#x7684;&#x8FD9;&#x4E2A;&#x7A0B;&#x5E8F;&#x5C31;&#x662F;&#x5E94;&#x7528;&#x5C42;</p>
</li>
<li><p>&#x6240;&#x4EE5;QQ&#x3001;&#x5FAE;&#x4FE1;&#x3001;&#x4EE5;&#x53CA;&#x4F60;&#x6B63;&#x5728;&#x4F7F;&#x7528;&#x7684;&#x6D4F;&#x89C8;&#x5668;&#xFF0C;&#x90FD;&#x662F;&#x5E94;&#x7528;&#x5C42;</p>
</li>
</ul>
<h3 id="&#x4E09;&#x3001;&#x5E94;&#x7528;&#x5C42;&#x6570;&#x636E;&#x662F;&#x5565;&#xFF1F;"><a name="&#x4E09;&#x3001;&#x5E94;&#x7528;&#x5C42;&#x6570;&#x636E;&#x662F;&#x5565;&#xFF1F;" class="plugin-anchor" href="#&#x4E09;&#x3001;&#x5E94;&#x7528;&#x5C42;&#x6570;&#x636E;&#x662F;&#x5565;&#xFF1F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E09;&#x3001;&#x5E94;&#x7528;&#x5C42;&#x6570;&#x636E;&#x662F;&#x5565;&#xFF1F;</h3>
<ul>
<li>&#x4F60;&#x60F3;&#x901A;&#x8FC7;&#x4F60;&#x524D;&#x9762;&#x5199;&#x7684;&#x8FD9;&#x4E2A;&#x7F51;&#x7EDC;&#x7A0B;&#x5E8F;&#x53D1;&#x4E00;&#x4E2A;&#x5B57;&#x7B26;&#x4E32;&#x201D;are you ok&#x201D;&#x5230;&#x5BF9;&#x65B9;&#xFF0C;&#x8FD9;&#x4E2A;&#x5B57;&#x7B26;&#x4E32;&#x201D;are you ok&#x201D;&#x5C31;&#x662F;&#x5E94;&#x7528;&#x5C42;&#x6570;&#x636E;</li>
<li>&#x5BF9;&#x65B9;&#x56DE;&#x4F60;&#x4E00;&#x53E5;&quot;yes, I am fine&quot;&#xFF0C;&#x8FD9;&#x4E2A;&quot;yes, I am fine&quot;&#x4E5F;&#x662F;&#x5E94;&#x7528;&#x5C42;&#x6570;&#x636E;</li>
</ul>
<h3 id="&#x56DB;&#x3001;&#x4F20;&#x8F93;&#x5C42;&#x662F;&#x5565;&#xFF1F;"><a name="&#x56DB;&#x3001;&#x4F20;&#x8F93;&#x5C42;&#x662F;&#x5565;&#xFF1F;" class="plugin-anchor" href="#&#x56DB;&#x3001;&#x4F20;&#x8F93;&#x5C42;&#x662F;&#x5565;&#xFF1F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x56DB;&#x3001;&#x4F20;&#x8F93;&#x5C42;&#x662F;&#x5565;&#xFF1F;</h3>
<ul>
<li>&#x4F20;&#x8F93;&#x5C42;&#x8981;&#x4E48;&#x8D70;TCP&#x534F;&#x8BAE;&#xFF0C;&#x8981;&#x4E48;&#x8D70;UDP&#x534F;&#x8BAE;&#xFF0C;&#x6CA1;&#x6709;&#x7B2C;&#x4E09;&#x79CD;&#x534F;&#x8BAE;</li>
<li>TCP&#x534F;&#x8BAE;&#x7684;&#x901A;&#x4FE1;&#x53CC;&#x65B9;&#xFF0C;&#x9700;&#x8981;&#x77E5;&#x9053;&#x5F7C;&#x6B64;&#x90FD;&#x5728;&#x5BB6;&#x5446;&#x7740;&#xFF0C;&#x4E14;&#x7531;&#x5BA2;&#x6237;&#x7AEF;&#x4E3B;&#x52A8;&#x53D1;&#x8D77;&#x8FDE;&#x63A5;</li>
<li>UDP&#x534F;&#x8BAE;&#xFF0C;&#x5BA2;&#x6237;&#x7AEF;&#x77E5;&#x9053;&#x670D;&#x52A1;&#x5668;&#x5BB6;&#x4F4F;&#x5728;&#x54EA;&#xFF0C;&#x4F46;&#x5E76;&#x4E0D;&#x77E5;&#x9053;&#x670D;&#x52A1;&#x5668;&#x5728;&#x4E0D;&#x5728;&#x5BB6;&#xFF0C;&#x6254;&#x6761;&#x6D88;&#x606F;&#x53BB;&#x670D;&#x52A1;&#x5668;&#x5BB6;&#xFF0C;&#x5982;&#x679C;&#x670D;&#x52A1;&#x5668;&#x4E0D;&#x5728;&#x5BB6;&#x8FD9;&#x6761;&#x6D88;&#x606F;&#x5C31;&#x88AB;&#x4E22;&#x4E86;</li>
<li>&#x5E94;&#x7528;&#x5C42;&#x628A;&#x6570;&#x636E;&#x4E22;&#x7ED9;&#x4F20;&#x8F93;&#x5C42;&#x540E;&#xFF0C;&#x4F20;&#x8F93;&#x5C42;&#x628A;&#x6570;&#x636E;&#x8FDB;&#x884C;&#x4E00;&#x4E0B;&#x5305;&#x88C5;&#xFF0C;&#x5305;&#x88C5;&#x7EB8;&#x4E0A;&#x9762;&#x5199;&#x7740;&#x201C;&#x6E90;&#x7AEF;&#x53E3;&#x3001;&#x76EE;&#x7684;&#x7AEF;&#x53E3;&#x3001;&#x5E8F;&#x53F7;&#x3001;&#x786E;&#x8BA4;&#x5E8F;&#x53F7;&#x3001;&#x68C0;&#x9A8C;&#x548C;&#x7B49;TCP&#x81EA;&#x8EAB;&#x7684;&#x6570;&#x636E;&#x201D;</li>
<li>&#x4F20;&#x8F93;&#x5C42;&#x628A;&#x6570;&#x636E;&#x7ED9;&#x5E94;&#x7528;&#x5C42;&#x65F6;&#xFF0C;&#x4F1A;&#x62C6;&#x5F00;&#x5BF9;&#x65B9;&#x7684;&#x5305;&#x88C5;&#x7EB8;&#xFF0C;&#x5E94;&#x7528;&#x5C42;&#x53EA;&#x770B;&#x5F97;&#x5230;&#x5BF9;&#x65B9;&#x5E94;&#x7528;&#x5C42;&#x53D1;&#x7684;&#x6570;&#x636E;</li>
</ul>
<h3 id="&#x4E94;&#x3001;&#x4F20;&#x8F93;&#x5C42;&#x6570;&#x636E;&#x662F;&#x5565;&#xFF1F;"><a name="&#x4E94;&#x3001;&#x4F20;&#x8F93;&#x5C42;&#x6570;&#x636E;&#x662F;&#x5565;&#xFF1F;" class="plugin-anchor" href="#&#x4E94;&#x3001;&#x4F20;&#x8F93;&#x5C42;&#x6570;&#x636E;&#x662F;&#x5565;&#xFF1F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E94;&#x3001;&#x4F20;&#x8F93;&#x5C42;&#x6570;&#x636E;&#x662F;&#x5565;&#xFF1F;</h3>
<ul>
<li>&#x5C31;&#x662F;&#x5E94;&#x7528;&#x5C42;&#x7684;&#x6570;&#x636E;&#x5E26;&#x4E0A;&#x4E00;&#x5F20;&#x5305;&#x88C5;&#x7EB8;&#x540E;&#x7684;&#x6570;&#x636E;</li>
<li>&#x8FD9;&#x5C42;&#x5305;&#x88C5;&#x7EB8;&#x5C31;&#x662F;&#x4F20;&#x8F93;&#x5C42;&#x7684;&#x5143;&#x6570;&#x636E;&#x6216;&#x53EB;&#x5934;&#x90E8;&#x6570;&#x636E;</li>
<li>&#x4E3A;&#x4EC0;&#x4E48;&#x8981;&#x5E26;&#x5305;&#x88C5;&#x7EB8;&#xFF1F;&#x56E0;&#x4E3A;&#x8981;&#x5B9E;&#x540D;&#x5440;</li>
</ul>
<h3 id="&#x516D;&#x3001;&#x4E3E;&#x4E2A;&#x6817;&#x5B50;"><a name="&#x516D;&#x3001;&#x4E3E;&#x4E2A;&#x6817;&#x5B50;" class="plugin-anchor" href="#&#x516D;&#x3001;&#x4E3E;&#x4E2A;&#x6817;&#x5B50;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x516D;&#x3001;&#x4E3E;&#x4E2A;&#x6817;&#x5B50;</h3>
<p>&#x4EE5;http&#x534F;&#x8BAE;&#x4E3A;&#x4F8B;&#xFF0C;&#x6211;&#x4EEC;&#x5728;&#x8BBF;&#x95EE;&#x4E00;&#x4E2A;&#x7F51;&#x7AD9;&#x65F6;&#xFF0C;&#x6D4F;&#x89C8;&#x5668;&#x4F1A;&#x901A;&#x8FC7;TCP&#x534F;&#x8BAE;&#x53D1;&#x9001;&#x5982;&#x4E0B;&#x5B57;&#x7B26;&#x4E32;&#x5230;&#x670D;&#x52A1;&#x5668;&#x7684;&#x5E94;&#x7528;&#x5C42;</p>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1go920jyr5ej30q40a4js7.jpg" alt=""></p>
<p>&#x8C03;&#x8BD5;&#x622A;&#x56FE;&#xFF1A;</p>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1go92197t0hj30q409bn25.jpg" alt=""></p>
<p>&#x8FD9;&#x4E9B;&#x5B57;&#x7B26;&#x4E32;&#x5C31;&#x662F;&#x5E94;&#x7528;&#x5C42;&#x6570;&#x636E;&#xFF0C;&#x5E94;&#x7528;&#x5C42;&#x6570;&#x636E;&#x662F;&#x6309;&#x7167;&#x4E00;&#x5B9A;&#x683C;&#x5F0F;&#x6765;&#x7EC4;&#x7EC7;&#x7684;&#xFF0C;&#x8FD9;&#x4E2A;&#x683C;&#x5F0F;&#x5C31;&#x662F;&#x5E94;&#x7528;&#x5C42;&#x534F;&#x8BAE;&#xFF0C;&#x8B6C;&#x5982;http&#x534F;&#x8BAE;&#x3002;</p>
<p>&#x4F20;&#x8F93;&#x5C42;&#x5728;&#x5F80;&#x5E94;&#x7528;&#x5C42;&#x4F20;&#x9012;&#x6570;&#x636E;&#x65F6;&#xFF0C;&#x5E76;&#x4E0D;&#x4FDD;&#x8BC1;&#x6BCF;&#x6B21;&#x4F20;&#x9012;&#x7684;&#x6570;&#x636E;&#x662F;&#x4E00;&#x4E2A;&#x5B8C;&#x6574;&#x7684;&#x5E94;&#x7528;&#x5C42;&#x6570;&#x636E;&#x5305;&#xFF08;&#x4EE5;http&#x534F;&#x8BAE;&#x4E3A;&#x4F8B;&#xFF0C;&#x5C31;&#x662F;&#x5E76;&#x4E0D;&#x4FDD;&#x8BC1;&#x5E94;&#x7528;&#x5C42;&#x6536;&#x5230;&#x7684;&#x6570;&#x636E;&#x521A;&#x597D;&#x53EF;&#x4EE5;&#x7EC4;&#x6210;&#x4E00;&#x4E2A;http&#x5305;&#xFF09;&#xFF0C;&#x8FD9;&#x5C31;&#x662F;&#x6211;&#x4EEC;&#x7ECF;&#x5E38;&#x63D0;&#x5230;&#x7684;&#x534A;&#x5305;&#x548C;&#x7C98;&#x5305;&#x3002;&#x4F20;&#x8F93;&#x5C42;&#x53EA;&#x8D1F;&#x8D23;&#x4F20;&#x9012;byte[]&#x6570;&#x636E;&#xFF0C;&#x5E94;&#x7528;&#x5C42;&#x9700;&#x8981;&#x81EA;&#x5DF1;&#x5BF9;byte[]&#x6570;&#x636E;&#x8FDB;&#x884C;&#x89E3;&#x7801;&#xFF0C;&#x4EE5;http&#x534F;&#x8BAE;&#x4E3A;&#x4F8B;&#xFF0C;&#x5C31;&#x662F;&#x628A;byte[]&#x89E3;&#x7801;&#x6210;http&#x534F;&#x8BAE;&#x683C;&#x5F0F;&#x7684;&#x5B57;&#x7B26;&#x4E32;&#x3002;</p>
<h3 id="&#x4E03;&#x3001;&#x534A;&#x5305;&#x548C;&#x7C98;&#x5305;"><a name="&#x4E03;&#x3001;&#x534A;&#x5305;&#x548C;&#x7C98;&#x5305;" class="plugin-anchor" href="#&#x4E03;&#x3001;&#x534A;&#x5305;&#x548C;&#x7C98;&#x5305;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E03;&#x3001;&#x534A;&#x5305;&#x548C;&#x7C98;&#x5305;</h3>
<ol>
<li><h4 id="&#x534A;&#x5305;"><a name="&#x534A;&#x5305;" class="plugin-anchor" href="#&#x534A;&#x5305;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x534A;&#x5305;</h4>
<ul>
<li><p>&#x987E;&#x540D;&#x601D;&#x4E49;&#xFF0C;&#x5C31;&#x662F;&#x6536;&#x5230;&#x4E86;&#x534A;&#x4E2A;&#x5305;&#xFF0C;&#x8FD9;&#x4E2A;&#x65F6;&#x5019;&#x4E0D;&#x8DB3;&#x4EE5;&#x7EC4;&#x6210;&#x4E00;&#x4E2A;&#x5E94;&#x7528;&#x5C42;&#x7684;&#x5305;&#x3002;&#x5C31;&#x50CF;&#x4F60;&#x8981;&#x5BF9;&#x4F60;&#x559C;&#x6B22;&#x7684;&#x4EBA;&#x8BF4;&#x201C;&#x6211;&#x559C;&#x6B22;&#x4F60;&#x201D;&#xFF0C;&#x4F46;&#x662F;&#x56E0;&#x4E3A;&#x559D;&#x6C34;&#x54BD;&#x7740;&#x4E86;&#xFF0C;&#x7B2C;&#x4E00;&#x6B21;&#x53EA;&#x8BF4;&#x4E86;&#x201C;&#x6211;&#x201D;&#x5B57;&#xFF0C;&#x7B2C;&#x4E8C;&#x6B21;&#x8BF4;&#x4E86;&#x4E2A;&#x201C;&#x559C;&#x201D;&#x5B57;&#xFF0C;&#x7B2C;&#x4E09;&#x4E2A;&#x6B21;&#x8BF4;&#x4E86;&#x4E2A;&#x201C;&#x6B22;&#x4F60;&#x201D;&#xFF0C;&#x90A3;&#x4E48;&#x5C31;&#x53D1;&#x751F;&#x4E86;&#x534A;&#x5305;&#x95EE;&#x9898;&#xFF0C;&#x5BF9;&#x65B9;&#x53EA;&#x6709;&#x7B49;&#x5F85;&#x4F60;&#x8BF4;&#x5B8C;&#x8FD9;4&#x4E2A;&#x5B57;&#x540E;&#x624D;&#x77E5;&#x9053;&#x4F60;&#x662F;&#x60F3;&#x8BF4;&#x201C;&#x6211;&#x559C;&#x6B22;&#x4F60;&#x201D;&#xFF01;</p>
</li>
<li><p>&#x7528;http&#x534F;&#x8BAE;&#x4E3A;&#x4F8B;&#xFF0C;&#x5C55;&#x793A;&#x534A;&#x5305;&#x573A;&#x666F;</p>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1goa3flljrdj30q40dzdil.jpg" alt=""></p>
</li>
</ul>
</li>
<li><h4 id="&#x7C98;&#x5305;"><a name="&#x7C98;&#x5305;" class="plugin-anchor" href="#&#x7C98;&#x5305;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x7C98;&#x5305;</h4>
<ul>
<li><p>&#x7C98;&#x5305;&#x4E0E;&#x534A;&#x5305;&#x76F8;&#x53CD;&#xFF0C;&#x5C31;&#x662F;&#x628A;&#x591A;&#x4E2A;&#x60F3;&#x8BF4;&#x7684;&#x8BDD;&#xFF0C;&#x4E00;&#x53E3;&#x6C14;&#x8BF4;&#x5B8C;&#x4E86;&#xFF0C;&#x5BF9;&#x65B9;&#x53CD;&#x5E94;&#x4E0D;&#x8FC7;&#x6765;&#xFF0C;&#x5F97;&#x628A;&#x4F60;&#x7684;&#x8BDD;&#x62C6;&#x5F00;&#x4E00;&#x6761;&#x4E00;&#x6761;&#x5730;&#x7406;&#x89E3;</p>
</li>
<li><p>&#x7528;http&#x534F;&#x8BAE;&#x4E3A;&#x4F8B;&#xFF0C;&#x5C55;&#x793A;&#x7C98;&#x5305;&#x573A;&#x666F;</p>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1goa3gewburj30q40it430.jpg" alt=""></p>
</li>
</ul>
</li>
</ol>
<h3 id="&#x516B;&#x3001;bytebutffer-&#x7F51;&#x7EDC;&#x7F16;&#x7A0B;&#x5FC5;&#x5907;&#x7684;&#x6570;&#x636E;&#x7ED3;&#x6784;"><a name="&#x516B;&#x3001;bytebutffer-&#x7F51;&#x7EDC;&#x7F16;&#x7A0B;&#x5FC5;&#x5907;&#x7684;&#x6570;&#x636E;&#x7ED3;&#x6784;" class="plugin-anchor" href="#&#x516B;&#x3001;bytebutffer-&#x7F51;&#x7EDC;&#x7F16;&#x7A0B;&#x5FC5;&#x5907;&#x7684;&#x6570;&#x636E;&#x7ED3;&#x6784;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x516B;&#x3001;ByteButffer &#x7F51;&#x7EDC;&#x7F16;&#x7A0B;&#x5FC5;&#x5907;&#x7684;&#x6570;&#x636E;&#x7ED3;&#x6784;</h3>
<ol>
<li><h4 id="&#x5F15;&#x8A00;"><a name="&#x5F15;&#x8A00;" class="plugin-anchor" href="#&#x5F15;&#x8A00;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5F15;&#x8A00;</h4>
<ul>
<li>ByteBuffer&#x662F;nio/aio&#x7F16;&#x7A0B;&#x6240;&#x5FC5;&#x987B;&#x638C;&#x63E1;&#x7684;&#x4E00;&#x4E2A;&#x6570;&#x636E;&#x7ED3;&#x6784;&#xFF0C;&#x4E5F;&#x662F;&#x638C;&#x63E1;tio&#x6240;&#x5FC5;&#x987B;&#x8981;&#x5B66;&#x4F1A;&#x7684;&#x57FA;&#x7840;&#x77E5;&#x8BC6;&#x3002;</li>
<li>&#x8BBE;&#x60F3;&#x4F60;&#x4E0D;&#x61C2;Map&#xFF0C;&#x4E0D;&#x61C2;List&#xFF0C;&#x4E0D;&#x61C2;Set&#xFF0C;&#x90A3;&#x4E48;&#x4F60;&#x5728;&#x7F16;&#x7A0B;&#x9886;&#x57DF;&#x5C06;&#x4F1A;&#x4E00;&#x4E8B;&#x65E0;&#x6210;&#xFF0C;&#x540C;&#x6837;&#x7684;&#x9053;&#x7406;&#xFF0C;&#x5982;&#x679C;&#x4F60;&#x4E0D;&#x61C2;ByteBuffer&#xFF0C;&#x4F60;&#x65E0;&#x6CD5;&#x5728;nio/aio&#x7F16;&#x7A0B;&#x9886;&#x57DF;&#x7ACB;&#x8DB3;</li>
</ul>
</li>
<li><h4 id="&#x521D;&#x8BC6;bytebuffer"><a name="&#x521D;&#x8BC6;bytebuffer" class="plugin-anchor" href="#&#x521D;&#x8BC6;bytebuffer"><i class="fa fa-link" aria-hidden="true"></i></a>&#x521D;&#x8BC6;ByteBuffer</h4>
<p>&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x628A;bytebuffer&#x7406;&#x89E3;&#x6210;&#x5982;&#x4E0B;&#x51E0;&#x4E2A;&#x5C5E;&#x6027;&#x7EC4;&#x6210;&#x7684;&#x4E00;&#x4E2A;&#x6570;&#x636E;&#x7ED3;&#x6784;</p>
<ul>
<li><p><strong>byte[] bytes:</strong> &#x7528;&#x6765;&#x5B58;&#x50A8;&#x6570;&#x636E;</p>
</li>
<li><p><strong>int capacity:</strong> &#x7528;&#x6765;&#x8868;&#x793A;bytes&#x7684;&#x5BB9;&#x91CF;&#xFF0C;&#x90A3;&#x4E48;&#x53EF;&#x4EE5;&#x60F3;&#x50CF;capacity&#x5C31;&#x7B49;&#x4E8E;bytes.size()&#xFF0C;&#x6B64;&#x503C;&#x5728;&#x521D;&#x59CB;&#x5316;bytes&#x540E;&#xFF0C;&#x662F;&#x4E0D;&#x53EF;&#x53D8;&#x7684;&#x3002;</p>
</li>
<li><p><strong>int limit:</strong> &#x7528;&#x6765;&#x8868;&#x793A;bytes&#x5B9E;&#x9645;&#x88C5;&#x4E86;&#x591A;&#x5C11;&#x6570;&#x636E;&#xFF0C;&#x53EF;&#x4EE5;&#x5BB9;&#x6613;&#x60F3;&#x50CF;&#x5F97;&#x5230;limit &lt;= capacity&#xFF0C;&#x6B64;&#x503C;&#x662F;&#x53EF;&#x7075;&#x6D3B;&#x53D8;&#x52A8;&#x7684;</p>
</li>
<li><p><strong>int position:</strong> &#x7528;&#x6765;&#x8868;&#x793A;&#x5728;&#x54EA;&#x4E2A;&#x4F4D;&#x7F6E;&#x5F00;&#x59CB;&#x5F80;bytes&#x5199;&#x6570;&#x636E;&#x6216;&#x662F;&#x8BFB;&#x6570;&#x636E;&#xFF0C;&#x6B64;&#x503C;&#x662F;&#x53EF;&#x7075;&#x6D3B;&#x53D8;&#x52A8;&#x7684;</p>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1goa3mdbl2ij30ov0g6abg.jpg" alt="byteBuffer1"></p>
</li>
</ul>
</li>
<li><h4 id="&#x521B;&#x5EFA;bytebuffer"><a name="&#x521B;&#x5EFA;bytebuffer" class="plugin-anchor" href="#&#x521B;&#x5EFA;bytebuffer"><i class="fa fa-link" aria-hidden="true"></i></a>&#x521B;&#x5EFA;ByteBuffer</h4>
<p>ByteBuffer.allocate(int cap)&#x5373;&#x53EF;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x6307;&#x5B9A;&#x5BB9;&#x5668;&#x5927;&#x5C0F;&#x7684;ByteBuffer&#xFF0C;&#x89C1;&#x56FE;</p>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1goa3o2vdubj30sg0lv77l.jpg" alt=""></p>
</li>
<li><h4 id="&#x5F80;bytebuffer&#x4E2D;&#x5199;&#x5165;&#x6570;&#x636E;"><a name="&#x5F80;bytebuffer&#x4E2D;&#x5199;&#x5165;&#x6570;&#x636E;" class="plugin-anchor" href="#&#x5F80;bytebuffer&#x4E2D;&#x5199;&#x5165;&#x6570;&#x636E;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5F80;ByteBuffer&#x4E2D;&#x5199;&#x5165;&#x6570;&#x636E;</h4>
<p>&#x8C03;&#x7528;ByteBuffer.put(byte b)&#x5373;&#x53EF;ByteBuffer&#x4E2D;&#x5199;&#x5165;&#x4E00;&#x4E2A;&#x5B57;&#x8282;&#xFF0C;&#x89C1;&#x56FE;</p>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1goa3q42iz2j30t00lvwi0.jpg" alt=""></p>
</li>
<li><h4 id="&#x4ECE;bytebuffer&#x8BFB;&#x53D6;&#x6570;&#x636E;"><a name="&#x4ECE;bytebuffer&#x8BFB;&#x53D6;&#x6570;&#x636E;" class="plugin-anchor" href="#&#x4ECE;bytebuffer&#x8BFB;&#x53D6;&#x6570;&#x636E;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4ECE;ByteBuffer&#x8BFB;&#x53D6;&#x6570;&#x636E;</h4>
<p>&#x5BF9;&#x4E8E;&#x521A;&#x521A;&#x5199;&#x597D;&#x7684;bytebuffer&#xFF0C;&#x6211;&#x4EEC;&#x8981;&#x8BFB;&#x53D6;&#x5B83;&#x7684;&#x5185;&#x5BB9;&#xFF0C;&#x9700;&#x8981;&#x5148;&#x8BBE;&#x7F6E;&#x4E00;&#x4E0B;position&#x548C;limit&#xFF0C;&#x5426;&#x5219;&#x8BFB;&#x7684;&#x4F4D;&#x7F6E;&#x5C31;&#x4E0D;&#x5BF9;&#x3002;</p>
<pre><code class="lang-java">byteBuffer.position(<span class="hljs-number">0</span>);  <span class="hljs-comment">//&#x8BBE;&#x7F6E;position&#x5230;0&#x4F4D;&#x7F6E;&#xFF0C;&#x8FD9;&#x6837;&#x8BFB;&#x6570;&#x636E;&#x65F6;&#x5C31;&#x4ECE;&#x8FD9;&#x4E2A;&#x4F4D;&#x7F6E;&#x5F00;&#x59CB;&#x8BFB; </span>

byteBuffer.limit(<span class="hljs-number">1</span>);     <span class="hljs-comment">//&#x8BBE;&#x7F6E;limit&#x4E3A;1&#xFF0C;&#x8868;&#x793A;&#x5F53;&#x524D;bytebuffer&#x7684;&#x6709;&#x6548;&#x6570;&#x636E;&#x957F;&#x5EA6;&#x662F;1</span>
</code></pre>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1goa3u36x9jj30s00lvdjd.jpg" alt="byteBuffer4"></p>
<p>&#x63A5;&#x4E0B;&#x6765;&#x8C03;&#x7528;ByteBuffer.get()&#x5373;&#x53EF;&#x8BFB;&#x53D6;&#x4E00;&#x4E2A;&#x5B57;&#x8282;&#xFF0C;&#x5728;&#x8BFB;&#x53D6;&#x6570;&#x636E;&#x7684;&#x540C;&#x65F6;&#xFF0C;ByteBuffer&#x7684;position&#x4E5F;&#x4F1A;&#x8DDF;&#x5173;&#x4F4D;&#x79FB;&#xFF0C;&#x89C1;&#x56FE;</p>
<p><img src="https://tva1.sinaimg.cn/large/008eGmZEly1goa3uikyt3j30rr0lvjuy.jpg" alt="byteBuffer5"></p>
</li>
</ol>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; mine 2022-2025 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2022-06-23 10:56:22
</span></footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="线程.html" class="navigation navigation-prev " aria-label="Previous page: 线程">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../java进阶/MySQL.html" class="navigation navigation-next " aria-label="Next page: MySQL">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"网络编程","level":"2.5","depth":1,"next":{"title":"MySQL","level":"3.1","depth":1,"path":"java进阶/MySQL.md","ref":"java进阶/MySQL.md","articles":[]},"previous":{"title":"线程","level":"2.4","depth":1,"path":"java基础/线程.md","ref":"java基础/线程.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["back-to-top-button","code","splitter","expandable-chapters-small","anchors","theme-comscore","tbfed-pagefooter","sidebar-style","pageview-count","popup"],"pluginsConfig":{"sidebar-style":{"author":"梁兴龙","title":"《Java 笔记本》"},"tbfed-pagefooter":{"copyright":"Copyright &copy mine 2022-2025","modify_label":"文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"splitter":{},"search":{},"popup":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"code":{"copyButtons":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-comscore":{},"back-to-top-button":{},"pageview-count":{},"expandable-chapters-small":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"java基础/网络编程.md","mtime":"2022-06-23T02:56:22.251Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-08-22T03:22:22.085Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sidebar-style/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-theme-comscore/test.js"></script>
        
    

    </body>
</html>

